ParcelableCompatCreatorCallbacks

Callbacks a Parcelable creator should implement.

Functions

Link copied to clipboard
abstract fun createFromParcel(in: Parcel, loader: ClassLoader): T
Create a new instance of the Parcelable class, instantiating it from the given Parcel whose data had previously been written by Parcelable.writeToParcel() and using the given ClassLoader.
Link copied to clipboard
abstract fun newArray(size: Int): Array<T>
Create a new array of the Parcelable class.